/*
 # | PHPKiisf - Keep It in Simple Framework											|
 # | Version 1.0																		|
 # | Copyright (C) <2013>  Mario Cezzare <mcezzare@gmail.com>						|
 # | Blog: http://mcezzare.blogspot.com.br											|
 # PhpKiisf custom js functions
 */
var phpkiisf_js = null;
phpkiisf_js = {
		messages: {
				offline: "Aplicativo Offline",
				online: "Aplicativo Online",
		},
		// home
		base_url: "http://" + document.domain + "/",
		// auth url
		login_url: null,
		// toggle divs and change the button message
		display_box: function(button, div_object) {
				$(div_object).toggle();
				if ($(div_object).attr("style") == "display: none;") {
						$(button).removeClass("btn-small");
						$(button).html("View Details &raquo;");
				} else {
						$(button).addClass("btn-small");
						$(button).html("Hide Details &raquo;");
				}

		},
		post_form: function(form) {
				form.submit();
		}
};
